<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"/>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<table width="100%" border="0">
	<tr>
		<td colspan="4" align="center"><strong>物资报废审批单</strong></td>
	</tr>
	<tr>
		<td width="25%" align="left"></td>
    	<td width="50%" colspan="2" align="center"><fmt:formatDate value="${toDay }" pattern="yyyy-MM-dd"/></td>
    	<td width="25%" align="center">字第&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</td>
    </tr>
</table>
<table width="100%" align="center" cellspacing="1" border="1" bordercolor="#000" style="border-collapse:collapse;">
	<tr>
		<th width="25%">财务编号</th>
		<td width="25%">${baoFei.wuZi.ziChanBM }</td>
	    <th width="25%">资产编号</th>
	    <td width="25%">${baoFei.wuZi.ziChanBH }</td>	    
	</tr>
	<tr>
		<th width="25%">物资名称</th>
	    <td width="25%">${baoFei.wuZi.wuZiMC }</td>
	    <th width="25%">规格型号</th>
	    <td width="25%">${baoFei.wuZi.guiGeXH }</td>
	</tr>
	<tr>
		<th width="25%">原使用部门</th>
	    <td width="25%">${depName }</td>
	    <th width="25%">原使用人</th>
	    <td width="25%">${username }</td>
	</tr>
	<tr>
		<th width="25%">存放地</th>
	    <td colspan="3" width="75%">${baoFei.wuZi.cunFangD }</td>
	</tr>
	<tr>
		<th width="25%">申请部门</th>
	    <td width="25%">${baoFei.user.dep.depName }</td>
	    <th width="25%">申请人</th>
	    <td width="25%">${baoFei.user.name }</td>
	</tr>
	<tr>
		<th width="25%">购置日期</th>
	    <td width="25%"><fmt:formatDate value="${baoFei.wuZi.gouMaiRQ }" pattern="yyyy-MM-dd"/></td>
	    <th width="25%">物资原值</th>
	    <td width="25%">${baoFei.wuZi.wuZiYZ }</td>
	</tr>
	<tr>
		<th width="25%">累计折旧金额</th>
	    <td width="25%" id="bFleiJiZheJiuJE">${baoFei.wuZi.leiJiZJJE }</td>
		<%--<th width="25%">物资净值</th>
	    <td width="25%" id="bFwuZiJingZhi">${baoFei.wuZi.wuZiJingZhi }</td>--%>
	</tr>
	<tr>
	    <%--<th width="25%">已折旧月数</th>
	    <td width="25%">${baoFei.wuZi.zheJiuYS }</td>--%>
	    <th width="25%">处理方式</th>
	    <td width="25%">${baoFei.chuLiFS }</td>
	</tr>
	<tr>
		<th width="25%">处理日期</th>
	    <td width="25%"><fmt:formatDate value="${toDay }" pattern="yyyy-MM-dd"/></td>
	    <th width="25%">回收残值</th>
	    <td width="25%">${baoFei.huiShouJE }</td>
	</tr>
	<tr>
		<th width="25%">回收单位/人</th>
	    <td colspan="3" width="75%">${baoFei.huiShouDW }</td>
	</tr>
	<tr>
	    <th rowspan="4">线上审批人</th>
	    <td rowspan="4" colspan="3">
	    	<c:forEach items="${baoFeiSPRList }" var="u">
	    		<img border="0" onload='if(this.width>140 || this.height>60) if (this.width/this.height>140/60) this.width=140; else this.height=60;' transcolor="#FFFFFF" src="${ctx }${u.xiangDuiLJ }/${u.fileName }" style="z-index:-1;"/>
	    	</c:forEach>
	    </td>
	</tr>
</table>